/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.rultax.neural;

/**
 *
 * @author scottw
 */
public class InputSigmoidNeuron extends AbstractSigmoidNeuron{

    private double output;
    private double input;
    private double weight;
    private double resultantInputSignal;
    
    public InputSigmoidNeuron(double input, double weight){
	this.input = input;
	this.weight = weight;
    }
    
    @Override
    public double getOutput() {
	return output;
    }

    @Override
    public void setOutput(double output) {
	this.output = output;
    }

    @Override
    public double[] getInput() {
	return new double[] {input};
    }

    @Override
    public double[] getWeights() {
	return new double[] {weight};
    }

    @Override
    public double getResultantInputSignal() {
	return resultantInputSignal;
    }

    @Override
    protected void setResultantInputSignal(double resultantInputSignal) {
	this.resultantInputSignal = resultantInputSignal;
    }    
}
